import javafx.geometry.Pos;

public class Test{
    public static void main(String[] args) {

        SeqList seqList = new SeqList();
        try{
            seqList.add(10);
            seqList.display();
            System.out.println("--------------");
            seqList.add(11, 11);


        }catch (EmptyException e){
            e.printStackTrace();
        }catch (FullException e){
            e.printStackTrace();
        }catch (PosException e){
            e.printStackTrace();
        }

        seqList.display();
        System.out.println("--------------");
        System.out.println(seqList.contains(10));
        System.out.println(seqList.contains(15));
        System.out.println("--------------");
        System.out.println(seqList.indexOf(10));
        System.out.println("--------------");
        System.out.println(seqList.get(1));
        System.out.println("--------------");
        seqList.set(1, 99);
        seqList.display();
        System.out.println("--------------");
        System.out.println(seqList.size());
    }
}
